<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of con_funcionalidad
 *
 * @author Luisao
 */
class con_funcionalidad  extends CI_Model {
    //put your code here
    
    function __construct()
    {
        // Call the Model constructor
        parent::__construct();
    }
    
    function get_all()
    {
        $this->db->select();
        $query = $this->db->get('con_funcionalidad');
        return $query;
    }  
    
    function get_by_submodulo($id_submodulo)
    {
        $this->db->select();
        $this->db->where('id_submodulo',$id_submodulo);
        $query = $this->db->get('con_funcionalidad');
        return $query;
    }  
        
    
}

?>
